package com.blb.springboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.blb.springboot.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {
   IPage<User> selectPage(IPage<User> page);

   User login(@Param("username") String username , @Param("password")String password);
}
